demos/constraint-editor: Fix linking on MSVC builds
authorChun-wei Fan <fanchunwei@src.gnome.org>
Mon, 8 Jul 2019 10:37:27 +0000 (18:37 +0800)
committerChun-wei Fan <fanchunwei@src.gnome.org>
Mon, 8 Jul 2019 10:37:27 +0000 (18:37 +0800)
We must apply the /entry:mainCRTStartup linker flag in order to link GTK
apps in pure GUI form.  This follows what is done in demos/gtk-demo,
etc.

demos/constraint-editor/meson.build

index af66846437a9cf7be5d93bbf0500b5079481865b..ce51325b37b55f429572373388eb541ed88ba8b7 100644 (file)
@@ -16,4 +16,5 @@ executable('gtk4-constraint-editor',
            dependencies: libgtk_dep,
            include_directories: confinc,
            gui_app: true,
+           link_args: extra_demo_ldflags,
            install: false)